--聊天会话类型
im.SessionType = {
    P2p = "2",        --p2p，私聊
    Team = "3",       --组队聊天
    Chatroom = "4"    --聊天室
}

--聊天消息类型
im.MessageType = {
	Text = 0,
    Image = 1,
    Audio = 2,
    Video = 3,
    Location = 4,
    Notification = 5,
    File = 6,
    Tip = 10,
    Custom = 100
}

im.MessageAttachState = {
    NeedDownload = 0,
    Failed = 1,
    Downloading = 2,
    Downloaded = 3
}

im.Mode = {
    RealTime = 0,   --实时语音
    Messages = 1,   --离线语音
    Translate = 2   --翻译模式（包含离线语音所有功能）
}

im.isPlaying        = false   --是否在播放中
im.isVoiceInit      = false   --voice是否init
im.isGotApplyKey    = false   --voice是否获得applyMessageKey
